From 3710cf9c1bba7dcdcd13949aa9525ded38ea94ad Mon Sep 17 00:00:00 2001 From: robertl Date: Sun, 6 Sep 2009 17:04:36 +0000 Subject: [PATCH] Rename GPSBabelFE to GPSBabel in many (though not all) places. --- gui/app.pro | 5 ++--- gui/appname.h | 4 ++-- gui/main.cpp | 4 ++-- gui/serial_mac.cpp | 3 --- gui/upgrade.cpp | 4 ++-- 5 files changed, 8 insertions(+), 12 deletions(-) diff --git a/gui/app.pro b/gui/app.pro index b9809919a..084bbf712 100755 --- a/gui/app.pro +++ b/gui/app.pro @@ -1,4 +1,4 @@ -# $Id: app.pro,v 1.8 2009/09/02 19:05:27 robertl Exp $ +# $Id: app.pro,v 1.9 2009/09/06 17:04:36 robertl Exp $ # CONFIG += qt release @@ -25,8 +25,7 @@ UI_DIR = tmp RESOURCES = app.qrc RC_FILE = app.rc -win32:TARGET=gpsbabelfe -unix:TARGET=gpsbabelfe-bin +TARGET=GPSBabelFE extras.commands = (make -f makeextras.mak) extras.target = extras diff --git a/gui/appname.h b/gui/appname.h index 418b09cc4..39d8ed24d 100644 --- a/gui/appname.h +++ b/gui/appname.h @@ -1,4 +1,4 @@ -// $Id: appname.h,v 1.1 2009/07/05 21:14:56 robertl Exp $ +// $Id: appname.h,v 1.2 2009/09/06 17:04:36 robertl Exp $ // //------------------------------------------------------------------------ // @@ -21,6 +21,6 @@ // #ifndef APPNAME_H #define APPNAME_H -static const char *appName = "GPSBabelFE"; +static const char *appName = "GPSBabel"; #endif diff --git a/gui/main.cpp b/gui/main.cpp index 902ca7305..368b8524d 100644 --- a/gui/main.cpp +++ b/gui/main.cpp @@ -1,5 +1,5 @@ // -*- C++ -*- -// $Id: main.cpp,v 1.5 2009/09/02 19:05:27 robertl Exp $ +// $Id: main.cpp,v 1.6 2009/09/06 17:04:36 robertl Exp $ //------------------------------------------------------------------------ // // Copyright (C) 2009 S. Khai Mong . @@ -66,7 +66,7 @@ int main(int argc, char**argv) QCoreApplication::setOrganizationName("GPSBabel"); QCoreApplication::setOrganizationDomain("gpsbabel.org"); - QCoreApplication::setApplicationName("GPSBabelFE"); + QCoreApplication::setApplicationName("GPSBabel"); MainWindow mainWindow(0); mainWindow.show(); diff --git a/gui/serial_mac.cpp b/gui/serial_mac.cpp index 9c83bea27..1c4d09656 100644 --- a/gui/serial_mac.cpp +++ b/gui/serial_mac.cpp @@ -73,9 +73,6 @@ static kern_return_t FindModems(io_iterator_t *matchingServices); static kern_return_t GetModemPath(io_iterator_t serialPortIterator, char *bsdPath, CFIndex maxPathSize); static int OpenSerialPort(const char *bsdPath); -static char *LogString(char *str); -static Boolean InitializeModem(int fileDescriptor); -static void CloseSerialPort(int fileDescriptor); // Returns an iterator across all known modems. Caller is responsible for // releasing the iterator when iteration is complete. diff --git a/gui/upgrade.cpp b/gui/upgrade.cpp index a5ca12835..101cf9207 100644 --- a/gui/upgrade.cpp +++ b/gui/upgrade.cpp @@ -1,5 +1,5 @@ // -*- C++ -*- -// $Id: upgrade.cpp,v 1.14 2009/09/06 05:04:07 robertl Exp $ +// $Id: upgrade.cpp,v 1.15 2009/09/06 17:04:36 robertl Exp $ /* Copyright (C) 2009 Robert Lipe, robertlipe@gpsbabel.org @@ -91,8 +91,8 @@ QString UpgradeCheck::getOsVersion() case QSysInfo::WV_6_1: return "7"; break; default: return "Windows/Unknown"; -#endif } +#endif // FIXME: find something appropriately clever to do for Linux, etc. here. return "Unknown"; } -- 2.30.2